package com.qf.dao.impl;

import com.qf.dao.TaskDao;
import com.qf.entity.Task;

import java.util.ArrayList;
import java.util.List;

/**
 * 2019/10/8
 * Administrator
 * quartz1008
 * 面向对象面向君  不负代码不负卿
 */
public class TaskDaoImpl implements TaskDao {
    public List<Task> findTaskByName(String username) {
        List list=new ArrayList();
        if(username.equals("张三")){
                list.add(new Task("张三","2019-10-8"));
        }else {
                list.add(new Task("李四","2019-10-8"));
        }
        return list;
    }
}
